/**
 * Created by Cameron on 2/6/14.
 */
public class FizzBuzzGame {
    void run() {
        for(int i=1; i<=100; i++) {
            boolean divByThree = false;
            boolean divByFive = false;

            if (i % 3 == 0)
                divByThree = true;
            if (i % 5 == 0)
                divByFive = true;

            if( !divByThree && !divByFive ) {
                System.out.print(i);
            }
            else {
                if (divByThree)
                    System.out.print("Fizz");
                if (divByFive)
                    System.out.print("Buzz");
            }
            System.out.println();
        }
    }

    public static void main(String[] args) {
        FizzBuzzGame fizzBuzz = new FizzBuzzGame();
        fizzBuzz.run();
    }
}
